package com.ruoyi.produce.base.circulatingWater.service;

import com.ruoyi.produce.base.circulatingWater.domain.CirculatingWater;
import com.ruoyi.produce.base.circulatingWater.domain.CirculatingWaterCond;
import com.ruoyi.produce.base.circulatingWater.domain.CirculatingWaterDto;

import java.util.List;

public interface ICirculatingWaterService {
    /**
     * 查询循环水参数
     * @param cond
     * @return
     */
    List<CirculatingWaterDto> selectCirculatingWaterList(CirculatingWaterCond cond);

    /**
     * 根据id查
     * @param waterId
     * @return
     */
    CirculatingWater selectCirculatingWaterById(String waterId);

    /**
     * 新增
     * @param circulatingWater
     * @return
     */
    int insertCirculatingWater(CirculatingWater circulatingWater);

    /**
     * 修改
     * @param circulatingWater
     * @return
     */
    int updateCirculatingWater(CirculatingWater circulatingWater);
}
